package com.cande.loki.exercise.manythread.threadpooltest;



class Task implements Runnable {
    /**
     *
     */
    private  Data data;

    public Task(Data data) {
        this.data = data;
    }


    @Override
    public void run() {
        System.out.println("runnable task start");
        data.setName("runnable 设置了名字");
    }
}
